package cn.iocoder.yudao.module.system.controller.admin.mini.goodInfo.goods.controller.admin.goods.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;

/**
* 小程序-商品 Base VO，提供给添加、修改、详细的子 VO 使用
* 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
*/
@Data
public class GoodsBaseVO {

    @Schema(description = "商品名称", example = "王五")
    private String name;

    @Schema(description = "图片")
    private List<String> img;

    @Schema(description = "商品分类", example = "2")
    private String type;

    @Schema(description = "销售数量")
    private Integer saleNum;

    @Schema(description = "运费模版id", example = "14819")
    private Integer postalId;

    @Schema(description = "是否包邮(1是2否)")
    private Integer postage;

    @Schema(description = "状态1上架2下架", example = "2")
    private Integer status;

    @Schema(description = "商品描述")
    private String content;

    @Schema(description = "图文详情")
    private String imgInfo;

    @Schema(description = "规格")
    private List<GoodSpecif> specif;

}
